<?php
	$userobj = new adminuser();
	$adminUserId = $_SESSION['ADMINUSERID'];
	
?>
	<table border="0">
		<tr>
            <td width="10" height="27">&nbsp;</td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?=(($Act=="affiliates" or $Act=="payment_affiliate" or $Act=="transaction_affiliate" or $Act=="adjust_affiliate") ? "linkimg_on":"linkimg_off" )?>"   ><div align="center">
				<? if($userobj->GetAdminUserLink('Affiliates',$adminUserId,0)) { ?> <a href="index.php?Act=affiliates&amp;status=all">Affiliates</a> <? } else { ?>Affiliates <? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?=(($Act=="programs" or $Act=="products" or $Act=="add_text" or $Act=="add_html" or $Act=="add_banner" or $Act=="add_popup" or $Act=="add_flash") ? "linkimg_on":"linkimg_off" )?>"   ><div align="center">
				<? if($userobj->GetAdminUserLink('Programs',$adminUserId,0)) { ?> <a href="index.php?Act=programs&amp;status=all">Programs</a> <? } else { ?>Programs<? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?= (($Act=="request" or $Act=="mer_requests" or $Act=="reverse_payments" or $Act=="invoice" or $Act=="view_transactions" or $Act=="export_invoice") ? "linkimg_on":"linkimg_off" )?>"   ><div align="center">
				<? if($userobj->GetAdminUserLink('Payments',$adminUserId,0)) { ?> <a href="index.php?Act=linkpayment">Payments</a> <? } else { ?>Payments<? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?= (($Act=="daily" or $Act=="forperiod" or $Act=="transaction" or $Act=="product_report" or $Act=="link_report" or $Act=="referer_report" or $Act=="recurring" or $Act=="ViewRecurringDetails" or $Act=="ViewTransactionDetails" or $Act=="graph_return" or $Act=="graph_affiliate" or $Act=="graph_distribution" or $Act=="graph_bubble" ) ? "linkimg_on":"linkimg_off" )?>"   ><div align="center">
				<? if($userobj->GetAdminUserLink('Reports',$adminUserId,0)) { ?> <a href="index.php?Act=reports">Reports</a> <? } else { ?>Reports<? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?= (($Act=="options"  or $Act=="payments" or $Act=="setpayments" or $Act=="terms" or $Act=="bulkmail" or $Act=="languages" or $Act=="currency" or $Act=="ip_country" or $Act=="ip_country_update" or   $Act=="event" or $Act=="category" or $Act==mailsettings or $Act=="email" or $Act=="merchantevent"   or $Act=="setpayments" or $Act=="fraudsettings" or $Act=="adminusers" or $Act=="adminuser_privilege" or $Act=="adminuser_edit" )  ? "linkimg_on":"linkimg_off" )?>"    ><div align="center">
				<? if($userobj->GetAdminUserLink('Options',$adminUserId,0)) { ?> <a href="index.php?Act=options">Options</a> <? } else { ?>Options<? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="<?= ($Act=="status" ? "linkimg_on":"linkimg_off" )?>" ><div align="center">
				<? if($userobj->GetAdminUserLink('PGM Status',$adminUserId,0)) { ?> <a href="index.php?Act=status">PGM Status</a> <? } else { ?>PGM Status<? } ?>
			</div></td>
            <td width="5"><div align="center"></div></td>
            <td width="84" class="linkimg_off"><div align="center"><a href="admin_quit.php">Quit</a> </div></td>
		</tr>
	</table>


        <!--      <p>your body</p> -->